//
//  MessageDao.h
//  ChildHoodStemp
//
//  Created by liuhui on 13-9-21.
//
//

#import <Foundation/Foundation.h>
#import "BaseObject.h"
@class ChildHoodMessage;

@interface MessageDBModel : BaseObject
{
    int64_t _messageIndex;
    NSString* _messageSerDBID;
    NSString* _roomId;
    NSString* _memoryId;
    NSString* _userId;
    NSString* _relativeType;
    NSString* _messageType;
    NSString* _type;
    NSString* _messageContent;
    NSString* _messageTime;
    NSString* _memoryValid;
    NSString* _senderName;
    NSString* _messageFilePath;
    NSString* _senderPortraitImageFilePath;
    NSString* _isRead;
    NSString* _isShowing;
    NSString* _isPlayed;
    NSString* _isDownloaded;
    NSString* _materialCount;
    NSString* _status;
    NSString* _flag;
    NSString* _reserved;
    int32_t   _totalCount;

 
}

@property (nonatomic , assign)int64_t messageIndex;
@property (nonatomic , retain)NSString* messageSerDBID;
@property (nonatomic , retain)NSString* roomId;
@property (nonatomic , retain)NSString* memoryId;
@property (nonatomic , retain)NSString* userId;
@property (nonatomic , retain)NSString* relativeType;
@property (nonatomic , retain)NSString* messageType;
@property (nonatomic , retain)NSString* type;
@property (nonatomic , retain)NSString* messageContent;
@property (nonatomic , retain)NSString* messageTime;
@property (nonatomic , retain)NSString* memoryValid;
@property (nonatomic , retain)NSString* senderName;
@property (nonatomic , retain)NSString* messageFilePath;
@property (nonatomic , retain)NSString* senderPortraitImageFilePath;
@property (nonatomic , retain)NSString* isRead;
@property (nonatomic , retain)NSString* isShowing;
@property (nonatomic , retain)NSString* isPlayed;
@property (nonatomic , retain)NSString* isDownloaded;
@property (nonatomic , retain)NSString* materialCount;
@property (nonatomic , retain)NSString* status;
@property (nonatomic , retain)NSString* flag;
@property (nonatomic , retain)NSString* reserved;

@property (nonatomic , assign)int32_t totalCount;


+ (NSDictionary*) tableColumnsAndPropertiesMapWithoutPrimaryKey;

@end

